package com.fan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @program: self-tui-education
 * @description:
 * @author: 老范
 * @create: 2022-05-08 18:40
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_play_history")
@ApiModel(value="PlayHistory对象", description="")
public class PlayHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "play_id", type = IdType.ASSIGN_ID)
    private String playId;

    private String userId;

    private String vedeoId;

    private String playTimePoint;

    @TableField(value = "course_id",exist = false)
    private String courseID;

    @TableField(value = "id",exist = false)
    private String id;
    @ApiModelProperty(value = "课程名称")
    @TableField(exist = false,value = "title")
    private String title;
    @ApiModelProperty(value = "章节名称")
    @TableField(exist = false,value = "chapterTitle")
    private String chapterTitle;


}
